#ifndef MSELECTION_H
#define MSELECTION_H

#include <QGraphicsWidget>

class MSelection : public QGraphicsWidget
{
    Q_OBJECT
public:
    explicit MSelection(QGraphicsItem *parent = 0);
    
protected:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

signals:
    
public slots:
    
    void updateGeometry(int x1, int y1, int x2, int y2);

private:
    int l, r, u, d;
};

#endif // MSELECTION_H
